package com.zhang.authoritycenter.common.model.dto.authority;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * description
 *
 * @author zhangFanJun
 * @date 2023-12-22 11:49
 **/
@Data
@ToString(exclude = "sensitiveField")
public class AuthByUserDTO implements Serializable {

    private Long userId;
    /**
     * 接口权限
     */
    private List<String> urlList;
    /**
     * 字段权限
     */
    private List<String> fieldList;
    /**
     * 菜单权限，不包含字段权限
     */
    private List<MenuDTO> menuList;

}
